package com.yjt.javatest.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yjt.javatest.entity.User;
import com.yjt.javatest.utils.APIResponse;

import javax.servlet.http.HttpServletResponse;

public interface UserService extends IService<User> {
    APIResponse login(User user, HttpServletResponse response);
    APIResponse register(User user);
    APIResponse logout();

    APIResponse getUserInfo();
}
